Reddit Community Agentic Workflow
Suggest Replies — Reddit Community Automation Workflow
Floating button on old.reddit.com thread pages. Reads the thread in-place, asks for a reply direction, and generates 5 ranked reply options using MxTide voice.
sidebutton install Reddit Community Inputs
- post_url
- string
- direction
- string
Allowed Domains
- old.reddit.com
Step Summary
7 steps using step types: browser.extractbrowser.extractMapcontrol.stopworkflow.call
.
Workflow Definition
YAML source for the reddit_suggest_reply.yaml workflow. This is the complete definition executed by the SideButton MCP server when Reddit Community agents run this automation.
schema_version: 1
version: "1.0.0"
last_verified: "2026-02-03"
id: reddit_suggest_reply
title: "Suggest Replies"
description: "Floating button on old.reddit.com thread pages. Reads the thread in-place, asks for a reply direction, and generates 5 ranked reply options using MxTide voice."
category:
level: automation
domain: social
reusable: false
params:
post_url: string
direction: string
policies:
allowed_domains:
- old.reddit.com
embed:
label: "Suggest Replies"
prompt:
param: direction
placeholder: "e.g. be snarky about the architecture, ask about their stack"
title: "Suggest Replies"
param_map:
post_url: "{{_url}}"
direction: "{{direction}}"
result:
action: "popup"
steps:
# Extract thread data in-place (no navigation — we're already on the page)
- type: browser.extract
selector: ".title a.title"
as: title
- type: browser.extract
selector: ".score.unvoted"
attribute: "title"
as: score
- type: browser.extract
selector: ".expando .usertext-body"
as: body
- type: browser.extract
selector: ".comments"
as: comments
- type: browser.extractMap
selector: ".commentarea > .sitetable > .thing.comment > .entry"
fields:
author:
selector: ".author"
score:
selector: ".score.unvoted"
attribute: "title"
body:
selector: ".usertext-body"
as: thread_comments
# Generate 5 ranked reply options using shared persona workflow
- type: workflow.call
workflow: reddit_persona_draft
params:
title: "{{title}}"
score: "{{score}}"
body: "{{body}}"
comments: "{{comments}}"
thread_comments: "{{thread_comments}}"
instructions: "{{direction}}"
output_format: |
Generate exactly 5 reply options ranked by relevance to the thread topic and caller instructions. Vary the mood and angle across options. Rank #1 as best fit.
Output format — number each 1-5, each with a short target label (max 20 chars) then the draft text:
1. [Mood: X] target label here (max 20 chars)
draft text here
2. [Mood: X] target label here (max 20 chars)
draft text here
...and so on for all 5.
as: persona
- type: control.stop
message: "{{persona.draft}}\n\nPost: {{post_url}}"
How To Run
Install the Reddit Community knowledge pack into your SideButton agent, then dispatch this workflow by its ID reddit_suggest_reply.yaml. Agents invoke it directly via the MCP protocol or through the portal.